package com.sh.dc.common.pojo.bo;


import jakarta.validation.constraints.NotNull;
import lombok.Data;


@Data
public class ProductSourceSaveBO {

    private Long id;

    @NotNull(message = "制品源中文名不能为空")
    private String name;
    @NotNull(message = "制品源英文名不能为空")
    private String nameEn;

    private String description;

    @NotNull(message = "Registry不能为空")
    private String registry;

    @NotNull(message = "Namespace不能为空")
    private String namespace;

    @NotNull(message = "是否需要认证不能为空")
    private Integer auth;

    private String username;

    private String password;

}
